﻿using System;
using System.Collections.Generic;
using System.Text;

//  <?xml version="1.0" encoding="GBK" ?> 
//- <dict>
//      <key>word</key> 
//      <lang>ec</lang> 
//      <audio>http://dict.cn/mp3.php?q=efVw7</audio> 
//      <pron>wə:d</pron> 
//      <def>n. 词,单词,消息,诺言 vt. 用词语表达</def> 
//    - <sent>
//          <orig>Could we have a word before you go to the meeting?</orig> 
//          <trans>你去开会之前，咱们能私下说句话吗？</trans> 
//      </sent>
//    - <sent>
//          <orig>Tell me what happened in your own words.</orig> 
//          <trans>用你自己的话把发生的事情告诉我。</trans> 
//      </sent>
//    - <sent>
//          <orig>My friend sent word that he was well.</orig> 
//          <trans>我朋友捎来口信说他很好。</trans> 
//      </sent>
//  </dict>

namespace Iori.DictCN {
    public class WordEC {
        private string Key_;
        private byte[] Audio_;
        private string Pronunciation_;
        private string Define_;
        private List<Sentence> Sentencs_;

        /// <summary>
        /// 单词
        /// </summary>
        public string Key {
            get {
                return Key_;
            }
            set {
                Key_ = value;
            }
        }

        /// <summary>
        /// 声音
        /// </summary>
        public byte[] Audio {
            get {
                return Audio_;
            }
            set {
                Audio_ = value;
            }
        }

        /// <summary>
        /// 音标
        /// </summary>
        public string Pronunciation {
            get {
                return Pronunciation_;
            }
            set {
                Pronunciation_ = value;
            }
        }

        /// <summary>
        /// 详解
        /// </summary>
        public string Define {
            get {
                return Define_;
            }
            set {
                Define_ = value;
            }
        }

        /// <summary>
        /// 例句
        /// </summary>
        public List<Sentence> Sentencs {
            get {
                return Sentencs_;
            }
            set {
                Sentencs_ = value;
            }
        }
    }
}
